Some changes to the code to make it build (temp)
API Change and updates to the functionality

TODO: Loading of groups and players.