Re: The Design & Origin of ULTRON
Selvig is an astrophysicist, I don't see him being the one involved. The most likely candidate is Tony as he is the only one shown capable of creating A.I., and the fact that he used to be a weapons manufacturer.
I'm guessing that at one time, Tony had created the project, the government scrapped it, and he took what he had to create Jarvis, based off loving memory of his father's butler growing up. The government stole the plans from Stark and continued their work, and then Ultron was born.
“Whenever you see somebody crossing over to something it gives it pop. Like Murder She Wrote and Magnum [P.I.] — great crossover. I got excited.” Joss Whedon on Spider-man joining the Avengers.