Create a setupApplication helper