Added basic PDO funcitonality