Cleaned up/optimized server.