initial commit, incomplete parsing but a good start