Moved the config finding logic into the config class and moved the location of plugins and the config file