* Migration: Added groups, privileges, user_groups, group_privileges, improved references * Models: Added Group, Privilege and integrated it into User * Replaced old permission handling with new models