Kdrefactor

Mixing level of abstraction. We one used `readerInit()` and line after we write some values to ports. Extract as inline function.