DRY up spawn so options get populated properly
Port should be contained within env
Add updatePortMap method
Refactor checkDone
Calculate routing table