Start adding action metadata
Finished action defs and cleaned up actionFactory.js