Reorganizing the RPC server so that each method and helper function are in their own file
Its a bool, so its likely that these work, but I think they are supposed to logical operators instead of bitwise.
Merge branch 'jsonrpc_reorg' into dev