Moved main.go to ploting.go