A simple PHP database handling class