Cleaned up rpc and set up a basic rpc get call. Need to link sources.