Improve Captcha with Singleton pattern