added the basic sprit class