static public function factory($configs)
    {
        $config = self::_parseConfig($config);
        $config = array_merge(array('modelClass' => null, 'columnMap' => null), $config);
        return new self($config['modelClass'], $config['columnMap']);
    }