Bugfix: check for the presence of the right variable for implementations.
Move documentation into README.md