finished parsing of config file and alterd a few other things to make it work right.