Building a restful, json, crud, api from scratch.