added a config file and moved the setup of static class memebers to their respective classes, making the members private with getfunctions and a master static setfunction.