seperated osm parsing in reader for logic and helper for graph building

encapsulated classes for osm data
fixed negative id handling and broken test