Account migration

End of @alexis-via's work. See #24
Yes, check lines 45 to 50 in pre-migration.py