Correct the misleading example of app factories. Close #111