Breaking routing api out of main server project to allow reuse and annotation processing