read config from file.
Add a target to build the lib too.
Implement writeConfig() - not tested.

need to add soemthing to the unit test for this fctn too.