Process development for the synthesis at industrial scale of active pharmaceutical ingredients