added default from and debug address to the parameters + updated documentation + minor bugfixes