Update DB.php

db connection starts only on first query, not object initialization