early core module import
small fixes
compile script
core