Change example from pry to irb
Use host method support instead of passing rack env
Return 404 if resource with given id does not exist