minor: fixing imports and adding a field to primer conf
primer: draft of page migration function