refactored into 2 classes.
go path now comes from env var