Refactored Config to model
Added structure for unit tests + written tests for Config model