converter: moved constructor to source file