WIP on the Grant data structure (added to the get_programs_by_user() method.) This will be broken out into additional functions in the near future.