initial commit

first working version
depends on line by line reading instead of xml parsing