Refactored and actions is now an array
Removed lodash dependency. Unified variable naming