add layouts and routes