adding shared memoery module

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