Add Layout and index.