add mutex and doc skeleton