Added State and Sprite base classes (with logic update support)