Separate router from server