Major refactor of getattr()
Merge pull request #30 from paradigm/master

Major refactor of getattr()