+ Attaching groups to resources with datasets
+ Making sure groups action is not triggered if groups does not exist
+ Minor changes to avoid exceptions with tests (initializing arrays) + Moving all hooks to .module file + Removing .triggers file