Design and development of a software for production planning in textile industries