Updated unittests. Refactored packaging. Refactored reassignment email.