Rewrite for the sake of flexibility WOO

Can now manually create tabs groups and add and remove tabs, on top of
being able to automatically group tabs based on an attribute.