Minimalistic PHP database wrapper