new rework mysql class