Added a basic layer view functionality
-epic refactoring