STSM: views are now customizable
STSM: heavy refactoring and renaming