Learning-Based Automatic Synthesis of Software Code and Configuration