add configuration file - stock
switch to just using sqlite to store monitoring data