moved migration classes from database module