Adding GetConfig unit tests
Move filds into getter methods
Moving GetConfig to new location