set up app and form