Custom application and DI to register commands