Fixed rest server and refactored config