Start work on config file. Removed old code