Adding table as main View, corresponding changes to model.