Added animation manager, trying to keep it generic.