A couple new functions in the groups file and refactoring how requests are made