split off the various sprite-related classes into a separate framework