Split out routing, views and app start into their own files.