added better accessor methods
Merge pull request #10 from gregorygerla/other

added better accessor methods