1. added comments and modified alignmemnts. 2. Router now uses clientID as one of the parameters while routing.