rename config => settings and set up route