Fixed all the examples and other fixes

Fixed all the examples.
Fixed a little bug in SpiGroup.
Organized all the store classes.