set version to 0.3.0-pre.1
refactor pipeline transformation for re-use