Implement services API and add kRPCService to provide basic services