Moved public config class to commons module as we had duplicates