removed config.py from root directory, and moved function get_config into magic.py.