restructured, fixed sprite library