Working on adding basic page creation. Implemented resolve_layout to handle layot choice.