split logic, start unit tests regarding issue #6
split code, add first basic test regarind issue #6

added test to check basic settings together with the file creator