Use queries instead of PDO

More 'Laravel' style, easier and catches all connections without
configuring. And changed the config from pdo to db for consistency.