Moved all route representations into the executable block, server operations to top.

Do not run this!