Change sfContext::getInstance() to  dmContext::getInstance()