full refactoring, split to files
new simple demo4
implements maps
implements When
refactoring map
refactoring map
templ