Reintroduce some flake8 fixes.
Integrate mkdir and copy from helper.py into data.py
inline Config._read()
Move config structures to config.py
Fixed bug: catch OSError from makedir if directory xeists