Pregunta de entrevista de Sovrn

Code singleton class and it should be thread safe.