added getAll method for record class, closes #168