Command Line App + Serialization

Added a command line app and also tweaked the classes to allow for
serialization to xml