Ensure all routes start with chosen prefix

Fixes #45

Added a config in components to hold config like the API version and perfix.
Didn't figure out how to require the config into the tests. Only fixed the
investments url config as the groups doesn't matter now

TODO:
- Figure out way to import actual config in tests.