improved menu functionality, added handling for invalid inputs and allow the user to change the data directory and view multiple visualizations