added implementation file for Animation class