[WIP] Feature group implementation

@tombatossals working on the feature group implementation but I am having some issues with the test suite. Would you mind taking a look at it when you get a chance?