added heart class for controlling heart animation