Refining model tpl in progress

Need to have the mutex and private record control plus file upload
limitations.