add animation curve class