Simplify the maing graph by passing projects and runtimes in a context