PDO to Mysqli conversion

Converted DAO class to use mysqli from pdo