Add common Singleton pattern template for this project (thread-safe)