sinatra boilerplate ref: http://qiita.com/hiroshi3110/items/aeae1f6c01cde0547f84