split out adding submodules in manage.py

move to a function of its own so it is easy to add other places locally