Simple PHP to MySQL singleton driver