basic dependency injection now working to some degree