The code is a stand alone code we can run the code using Controller class, by running main method. it creates a KeyValueDataStructure<Integer, String> on running main method we get below inetractive menue 1. Insert 2. Retrieve 3. Display current state choice (^C to exit): as the menue is self explanatory, we can add or retrive values by using menue