create dontfold annotations while extracting
refactoring: split up code into several files, get rid of legacy