Extracted the handleValidateTokenCall method.
Extracted the handleGroupsCall method.
Extracted the handleTokenCallBase and handleGetAdminTokenCall methods.
Re-worked the switch block into several if/elses.
Added the ability to break a specific call.
Added handling of endpoints calls.
Fixed a typo.