Marin Software interview question

Design questions. Object oriented class/Singleton/Factory mode