Addressed Stephans comments
new memory segments methods
Remove checkpointing and envelope consumption logic

Signed-off-by: Robert Metzger <metzgerr@web.de>