factory.py: updating docstrings
factory.py: add processing of config file
factory.py: fix push()
factory.py: fix load_config()
tests: add test_should_load_config