Add createApp method