oformat: configuration, types, bugfix, temp stuff

configuration containing parameters have to be passed to constructor.
field classes now passed aswell and handled properly.
generateQuestionMarks() simplified

bugfix in addValue()

main method acts as testclass, actually works(!)