Add RPC framework and test application