Created Animation class.
Created constants for animationtypes.