init for dancer2 app