set up app delegate for parser