moved actions to their own file and cleaned up junk left over from previous refactoring