Moved interfaces and animator to separate files.