Account migration

End of @alexis-via's work. See #24
@arthru: as @alhashash said, it is now unnecessary as account_id is present in V8.