Improved initializeserver