added support for inheritance
Merge pull request #5 from jonsquared/feature/inheritingClasses

added support for inheritance