finalized public API, added grouping features, bumped version to 0.0.2, updated tests