updated routing and introduced layout configuration.