[76171086] Gear list retrievable server side.  Also refactored a bunch of code into macros that makes things more predictable.
[completes #76171086]