changed /food to /state. REST should make more sense now