Singleton seems to work. main.cpp only calling functions not methods.