cleanup
moved the code from KendouiBootStrap to doWithApplicationContext