Adds the rest of the major functionality of the program.