An Agent Based Solution for Dispatching Items in a Distributed Environment