init app with Dancer framework