Small refacts.
Removed lots of unised stuff. (The port will get a propher configuration later.)
Removed that ugly route manager passdown.
Made an enum class for the shared varriables.