[WIP] Introduce the "migration" concept

See #45.