reorganizing
added variables to the id lookups
added self sytax to classes
adding support for functions