Wrote Javadoc for UI and ConsoleUI