updated project to java 8 so that we can execute switches over strings. Implemented some of the various methods to supress warnings