Figured out the basic client-side MVC structure and fleshed out the resource API.