spritebatch added, change of architecture