That's a very complicated issue, and I know harmonica historians who wouldn't necessarily agree with you that "Melodeons started as Mouthorgans", like Pat Missin - So just who was this Richter guy and what exactly did he invent? (http://www.patmissin.com/ffaq/q37.html)
But both the harmonica/"mouthie" and the diatonic accordion (which wasn't called a melodeon until the 1870s) have common ancestry in the simple æolinas of the 1820s, like this one:
(http://i17.photobucket.com/albums/b66/StephenChambers/Aeolina.jpg)
I've been meaning to ask who/when were melodeons invented.
That depends on exactly what you mean, but the first accordions, invented by Cyrill Demian of Vienna in 1829, were button accordions, though they weren't called melodeons.
I don't know that anybody's done any real research on the subject, but my own observation would be that the word "melodeon" seems to go back to the early 19th century, though it was originally used as a name for halls in which music was performed and for printed collections of music (in both cases frequently, but not exclusively, religious), before it was first used in the 1830s to describe an American type of reed organ. These American melodeons (a.k.a. "melodions" or "melodiums") usually stood on four legs, or a stand, like this:
(http://i17.photobucket.com/albums/b66/StephenChambers/melodeon1866.jpg)
Whilst there was also a type of lap organ called the "rocking melodeon" or "elbow melodeon":
(http://i17.photobucket.com/albums/b66/StephenChambers/rockingmelodeon.jpg)
But those American varieties all worked on the "piano" principle, not the "push/pull" button-accordion one.
It wasn't until the early-to-mid 1870s (following the Franco-Prussian War and the momentous changes that took place in Germany as a consequence of it) that German accordions became more cheaply and commonly available in the British Isles, and that they started to be marketed as "melodions" or "melodeons" - mainly by Campbell's of Glasgow, who were pioneers of mail-order selling and advertised that "Music in the house makes cheerful happy homes! With the Melodeon in the family" and "fills the place of a Church-Organ in the house. Supplied to hundreds of Clergymen..."
Prior to that time, French accordeons ("flutinas") had been more popular than the German ones.
edited for speeling :-[