PHP OOP Database class using MySQLi and Singleton pattern.