minor refactoring, version number adjustment
a bit more documentation