actions, routes added; state_machine fix, ability fix, views fix