moved "animator" stuff into its own file