refactored, added group information
now with its own logging and user setup