Update server to use refactored code.
Reference configuration as instance instead of singleton.