Implemented basic config system. needs documentation