OO mysql for application