Config file checkpoint. Still working out the bugs