Create a `get_config` method and use it to load configuration from file, not using Flask's `current_app`