initial implementation of MVC for sinatra