Remove common functions from boss_router_controller.erl