add model files and directive