added action class, added motion phases as subactions