Added main app framework to load layout