Wired up packages, routes and some dependency injection.