rc-dev: move plug/routes to separate module