Add initial main module.
Extract collectStream().