Added functionality of read a config file.
Error produced if file cannot be opened.
Warnings produced if variables exist in the config that aren't used in the programme.