move animations out into package