Provide an application-common setup function for engines and use it