Added new class for paper formats and unit test.