Implements correct compilation
Reverses order of the files
Removes reliance on tail -r
Fixes x-origin
Configured for crappy heroku production