Hooking up DI and commands to the application