Changed the tutorials to make use of the new singleton class.