re-arranged the file structure and added a main.go file