Class for work wiht MySQL