Use HashMaps and add getters & setters

Use HashMaps instead of ArrayLists to ease group finding.
Implments getters and setters to allow access groups.
Fix imports from the movement of API classes.

Update the imports because the API classes are now in
a seperate package.