Extract common setup to an external tutorial