coffescript removal

refactored a lot of the application