make receivedata a private method
Merge remote-tracking branch 'origin/master'
abstract out readingdb into a TSDB interface