Moved footer text to a constant
All data and constants were moved to Data class which lives in dtos.py
Refactor functional test
Remove unused imports
Moved subtotal to metadata dto