refactored web api service to use ninject