set up application runtime