Create db_class.php

the php script used for contenting to the sql database