Completed PDO Snippets and helper files