Improved loading algorithm
Imported XML from old code
Implemented stream writer
Added paths to meta file