put everything into a coffee server and converted the client to coffeescript