A PDO based database library