add ninject and repository