DBaccess.php added comments, cleaned code