Reshaping the code in a package. Module "trans" removed.
Changing imports in testing.