Api calling

We should move this logic out of here into a service object.

Check out this blog post for more info http://brewhouse.io/blog/2014/04/30/gourmet-service-objects.html