Update the swapViewTestApp to show how to programmatically swap between views, and how to create a custom layout controller which uses an object as a constraint, and positions views by into the main template by parentId.