Switched to Sinatra framework

* Separated index headers into a layout file