The API use should be abstracted by a class. _Originally posted by @patrickelectric in https://github.com/bluerobotics/navigator-web-assistant/pull/2#discussion_r1470032825_