add tests
check if migration already initialised
implement manager
implement migratiin and rollback to latest revision