First pass server implementation