Add fetchDefaultLoadout function.

Code to date has not been compiled or tested.