Bug fixes and refactoring

Moved RPCServer Class from bootstrap to rpc
Fixed RPC call in hot wallet