A PHP class to handle databases