appeals db structure and api start