adding a labsdb management tool and asociated class

Change-Id: If626c9bbab6f16847c95ab1584ec0560d5949939