Convert shortcode classes to Singleton pattern