remastered the pdo wrapper so that its an object not a singleton static objectx