code clean up
_core modules support
moved certain code to _core modules
removed useless files