cleaned up main.go and moved logger setup into infrastructure.go