Arceus is the origin...It created the pokemon universe by creating Dialga (Time), Palkia (Space) and Giratina (The distortion). These three shaped the universe and thus the legendaries started to form and created the Earth, etc. Among all of these pokemon, Mew was created, and it was able to use its power to create other pokemon.
That's what I think, and I prefer ARCEUS! =)