Split RPC functionality from core into rpcutils.py file
Added status view