Changed to JS based base code, added basic functionality.
Removed Coffeescript files, added basic templates.