Made Server endpoints configurable