skeleton code for apps