moving schemas to submodule