documented class sostpp inside code, small fixes