Added Class to controll the mysql interation