put webinterface communication in a new module