Database Connection Exception Handling

PDO Database exception added to the connection
Class updates and test form for db class
db_class update

db_class update for functions based structure, form update