Adding study model and services

Minor: We don't need to initialize json to null. We should avoid initializing json to null so we don't accidentally send null json to the server.