Singleton pattern

Singleton template added for apex classes templates