Removed menu and user input from main()