implement 'server' command (half way)