Break up dynamic markup parsing into a parsers/ directory that is also serve client-side to change content in-page with the same code used server-side.  Allow a controller config object to be altered by the controller on init - such as the case of SmartThings where we want to register the auth info in a more secure way.  Take a lot more sensitive info out of the State var that will be delivered to the client.