moved config file to its own class