Added initial pass at command server.