Changing HTTP call to a service.
Merge pull request #4 from 2rachy/service

Changing HTTP call to a service.