Added main class and class that interfaces with user.