oops, got busy and left some unstaged chanes sit around for a while.
Major refactor
major rewrite of data element handling
Merge pull request #6 from grobertson/classy-up

Major refactor into classes
Merge pull request #7 from grobertson/prettyfy

major rewrite of data element handling
Update README.md