architecting model and dao