Refactored the populateDataModel method to create a structure which can
be modified easily after the initial setup. Still a lot to do on that
front.

Added classes to represent the different logical portions of the battery
in the tree. More work here as well.