add decrypt implementation, folders, servicereference, stop procedure