libqdutils: move Singleton object to .cpp file