added basic infrastructure for animated sprites