Added a Unitlist and edit functiontionality for units
Added a group list and an edit functionality for groups

updated data fetching functions to be more reusable

Signed-off-by: pcdesign <peter@pcdesign.be>