lazy instantiation in app delegate