- refactor config a bit and use key instead of id
- in urls