Polishing of backend API and skeleton code for frontend.

Backend: Consolidate playlist and status returns.

Frontend: basic framework for sending messages with success/fail callbacks.