Moved RPC Handling into its own class

RPC Handling is split into two new files, one for the request object and
another for the request handler class.

bot.rb has been modified to use nested modules.