Refactored interface for branch to item info to allow for easier unit testing