Merge pull request #5 from ijin/master

use the latest datapoint after sorting by timestamp
ver.1.2.2
added a billing metric example & changed dd table name to be more generic