refactor rectangle
refactor the enemies
refactor candies
refactor player