added mysql pointer class