move cmd/system.go to main.go