Animation class structure 018

Added event based constant update