Explicitly setting public_folder for sinatra
Moving app initialization back into pre-view code.
Small bug fix (this->self)