A package for distributed locking using a FIPA based communication infrastructure