1st step to allow file extension changes

Config file extension is now stored in a variable.