Built Animation framework

Look at globals for an example of its use
pause is still untested, but should work at any level