The drawing functions were moved to individual files