Moved class data to XML

To improve maintainability and understandability of the code, I've moved
each class to a seperate XML file instead of having them under a single
JavaScript object