Sharing

Fixes #15.
Let's say it's a first step, and i'll try to merge them later.