singleton design pattern and driver class