New check in

The router.js delta can be disregarded, I changed my mind about implementation.