an outline of a possible server structure