Refactore static folder path and models with map