Added sinatra-contrib for sinatra/reloader.
Added database logic.