changed version back to snapshot
update to latest factorie
changed hashmap to linkedHashMap to support iterators