Finish implementing restaurant APIs

The code still needs refactoring.