moving dist to submodule