added custom group sidebar region, added a template function that auto-creates region variables and assigns node classes based on them