better structure, first try to use web-socket and dynamically load the lib
tried to add web-sockets to persist changes without server-restart