add singleton class snippet template