a restful resource layer that sites between phoenix and ecto