Flask style initialization