Made class for accepting input on terminal. Also made class for saving figures. Should help avoid having to repeat code all over the place