Add create_app app factory.