added time in xml reader, updated toString(), and added training data