Expose memory actor

Based on top of the webapps pull request. But only introduces the last changeset about memory actor.