bugfix, docu

# small bugfixes
# clean up code
# code documentation