Pulled main.go into separate files