scaffold masterthesis