add a minimal rospy api compatibility layer