clean up code, change license, remove coffeescript