a micro-framework for handling migrations