added token class and parser class also consolidated the buttons in the view controller