fixed some general bugs, trying to impl xml

xml files to save online and update, trying to read and write from/to
file