Add engine initializers to automatically configure the main app and middleware usage