Adding study model and services

It seems like this is covered in the integration test; if this can't be converted by the server to JSON and the client to an object, the test would fail.