Refactors Action to be in the action folder. Updates the action method signature to be action mapping