Changed application.py to use a config dir instead of a single config file