removed ezcDb dependecy and replaced with pdowrapper