added comments to PiDbHandel