Added RPC handler for listing all apps