libraries: some serious refactoring, caching of subviews; base-mvc initialAttrs default setting (empty object)