First helper function
Finish layout and routes