Moved actions into actions.py