Split up different parts of HTTP-based services (closes #15)