Now able to populate the treemap with the actual data from the FMA. But the code has become rather messy now. It's time for some refactoring.