One of the first engines to avoid the need for house-building was the table engine, from around 1800.
Such construction was also quicker to build on-site, as a pre-manufactured engine could be supplied by the engine maker in almost completed form.