Reorganize files

I've done a little bit more than just renaming the core files: I fixed a bug in migrate, and I removed some temporary Opera files in the tests folder.