major update to code.  added classes and other things.