Feature/bf/mie 812

This pull request changes the appname_model prefix from type_id and type_api to aid and api; it will allow for simpler payload and easier execution.