xrdp-ng: move server module interface to a new file