Replace hardcode baseUrls out with configuration values.
Minor update with some comments.
Introduced protocol, which makes all the Urls for the requests.
Added model.call and some handlers for the notification related to calls.

I also did some minor cleanup in some other files.