add singleton design pattern files.