Removed exception handling from main(), model.run() returns int for loop check