Added link to the tutorial I followed.
The Singleton Pattern class.