Refactor database sharing
This refactoring moves the database sharing responsibility to the database declaration.
The author can choose whether the dataset shall be made available directly to the algorithm container.
As a consequence, the implementation done in beat.cmdline!103 (merged) will not work anymore.
Fixes #105 (closed)