Implement http webservices. Closes #25.