refactoring
Created an actions atom that the action functions populate