Added middleware methods for handling basic api interactions.  apiParser method responds directly to the request, while apiPreparser simply attaches the api results onto the req (req.oResult and req.hResult) for further processing and returning to the user.