Implemented cache & rpc server seperation.