A tool for modeling infrared SEDs with silicate and water-ice features