added submodule and core files