Adding study model and services

Make a JIRA item.