adding support for lineitem type entries
adding API 2.1 support and cleaning up some indenting
Merge pull request #3 from jpcampbell/master

Added 2.1 support