Creating groups and assigning laboratories