Split of "framework" code and example workflow