extract classes for separate responsibilities
add library for build-script functions, call from build script