robust application skelleton