Move generated sources to main module