implemented multiple sprite generation, need to cleanup code and add comma-separated classes for multiple sprites.