changes in documentation of code and debugging
updated docs-files and few small changes.
added flexibility in log-file and general nPA seems to work more or less now.
debuged readHR