add model and resource dir