Animate

Hi Max, first integration of animation system with dreem, ready for review
Repeat -2 is a little bizarre - what does it mean?