Partially detached database, faster importing, continued refactoring, removed need for local_settings.py