Added ModConf Class

This done to clean up cluter in the main class.