First implementation of interfaces and rpc