reorganize study.models code
remove external migrations model
remove default value for IVEndpoint category