Added sound playback
Moved some generic code into coffeescript files
Removed some debug code