finish layouts&routes