lots of cleanup

@dtornow please check that i didn't break anything. It's mostly whitespaces and formatting, but also removed a bunch of unused/dead code. Ohh and in case you overlook it I renamed the route to "/exec/:uuid". Once that's settled I would like to add eslint to make you respect guidelines ;) and we'll immediately start writing tests!