Added loader event into main robot class