added impliment of  _initModules
Merge branch 'dev' of https://github.com/kitygraph/kityminder into dev