Refactoring remove abstraction layer like view and move from IDictionary to motel