CMS-1925 Move view classes into own module

- introduced ViewItem to be used in view module