first version of new builder with generator / preprocessor