Refactored container.view, list.view. Added new methods in BaseView for ...

...empty states. Improved test coverage