Made it possible for View::layout() method to pass data, added some comments, added extension settings for views and layouts