change Router to be a class.
move require() at the top of file to clearly identified dependencies
add header to goal created message
extract port number from router, and add it as a constructor parameter