finalising the engine and making it controlled via config