#39 - +@luanReis - Adding Q dependency
#39 - +@luanReis - tests for new grouping queries
#39 - +@luanReis - new grouping apis