initial lua interface to animations