Changed User and ModelTable classes to work with the new MySQL class. Still not finished!