Initial db migration and basic clean.