Fixed up MySQL Class