Various updates

Notably, added services.js to implement some http functionality.