Added configuration for max number of uploaded readings per cycle (remote.count). Also added db-stats.js file, in progress.