configuration cleanup
adapt ninject sample