Upgraded Mysqli connection to use OOP.