As made for TablePDF, we separate the block mapping in separate files. This will allow us to have a better separation of concerns and to have a more maintainable codebase. We improve as well the typing. It will be easier to add new blocks in the future.