Commons exec framework for model wrapper

Integration tested against some trivial R scripts