Added support for animations

Currently doesn't draw anything.