Update to database connection contract and pdo implementation; Adding select method.