GENERATE CODES HELPER
Finish routes and layout