add generic getAll method
Merge pull request #4 from tkellen/getAll

add generic getAll method