A new class of solvable dynamical systems