Solving some issues with the datetime parser. Added a function xml_from_file. Cleaning the code.
Added instructions to use the program as a library.