finish layout and routes
model