Create number class.