Added interactive menu (not yet called, and added some global constants.)