refactor sim-rsp-> function and migrate functionality from protean project