Added Animation functionality. Can now create an animation and choose
the time in program (rather than hardcoded).