her connection with the stapletons can be traced for several years , as far back as the schoolmastering days , so that she must have been aware that her mistress and master were really wife and husband .