model factory
start extraction of thread distributed
pre stack state fix
refactoring medio
it works
cleanup