M-6 Database Migration: Loan Module