Add basic fetchrow and fetchall functions