Made the master class a singleton