Convert to backbone.marionette style. Add build process