Fixed constants passing in rpc
Style change
Updated the requirements of the package