add study and study_access schema

minimal testing so far