Added number lookup command.
Refactored RPC commands.