add const correctness to tuplespace.
use custom mutex for tuplespace server.