Working on the main config file. Also performed more debugg tests.