This class implements the curn model proposed in.
This file declares some macros for RPC implementation.