move app/controllers to app/routes
define model repositories in Silex application