simple database client