* refactored argument parsing further
* bugfix for bug introduced in previous commit
* refactor logging in oa-cache