Refactored classes Animation and Led