Moved the config object creation into the main click command to unbreak the application when installed with pip