flask service skeleton