Move schema exporting stuff outside module
Move db export thing to install_data at top

Also modified namespaces for all the models so entity manager found them. Need to double check that is correct before merging into develop.