Update Model.php

added simple database abstraction to pdo