RPC + Handlers implemented
sample parameters refactored