Adding router and loosely coupling to server via paramater