adding shared memoery module

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Merge branch 'variables'
Merge branch 'master' into develop