initialize config system and did a work around on passing data to subclasses