add inheritance to getting properties for class
Merge pull request #5 from leoru/master

add inheritance to getting properties for class