Updated MySQL class to use MySQLi extension

fixes #1