Adding controllers, views and middlewares