Mini refactoring.
Add a set of API functions required by RPC server.
The draft of an RPC server add.
Add 'ranch' dependency for an RPC server.
Add some helpful goals.