NSCoding implementation like the spinner example. Not working yet.
Singleton thing done