added classes
fixed some things. most things are still broken.
Almost completely done implementing classes
fixed remaining bugs related to classes