finished adding layout and routes