added monitoring (sqlite only for now), working examples scripts