Fixes #1

Automatically pick a port starting at 4000
Also rename main.go to thru.go