introduced configurable restaurant repo, added application init logic