Stack Layouts separated from main display logic

A new Stack Layout sub folder has been created in the views folder.