simplify configureApp