merge handlers.go and main.go