new functions
introduce log2db
implement enable/disable service