Adding support for the special case of subscribe(Map) to code-generation
 * Broke apart monolithic code generator as well
 * Changed signature in core to subscribe(Map<String, Action>) for type-safety