a PDO wrapper for making common DB operations slightly easier