Imlemented interfaces and setup program to use all of them.
Moved the get number method to it's own class.