Implemented configuration save and reload.

Fixed issue 9