now looks at bill for source type rather than payload
symantic bug fixes to improve debugging
Merge pull request #8 from yamatt/master

checks bill for source type rather than payload