implement mysql class