removing index-view and making module-view that is more generic