Add Config module, for server config management

Refactor server config management, with test configuration