Code to add group details into local and online database.

Task #43