Compare end value as string for web app. Change class checker.

  -For the web app, in order to find integers and other data types, we are now converting end points in the data structure to strings (if they are not one already).
  -Changed the .is_a? method to inherits or is method, to cover more ground for subclasses etc.