Ideally we should generate all the XML based on modular components so we can also switch templates between different sizes, this is a first step and more work should be done in future in this direction.