fixed some context problems
plus
added DynamicController - responsible for changing innerHtml of a div/span element when current model type changes