App skeleton ; db structure