secure model api by using internal operations
Merge branch 'attempt3' of https://github.com/radke-tum/idp.git into attempt3