Analysis of problems and methodologies for the development of an optimization module for Computational Fluid Dynamics