First cut parsing and datastructuring done.