added basic curve animation class