added DB.php

DB connection and basic crud