Implemented and tested read config. Closes #208. Closes #209.