Grab markoheijnen's MySQLi database layer