Fixed major bugs in migration tool. Added Paper Trail (Versioning System) Updated migration script.