moved intent_message to camera_class.lua