Added a basic layer view functionality