Singleton class using def and class<<self