Added core and config directories to remove relative imports (PEP 8).