starting to organise and added basic group management

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>