created db.class.php

PHP CRUD class using PDO.
Removed echo of $dbname

removed test call from source code.