Cash import/export - ugly
Code refactoring and documentation