Object oriented mysql requests