implement sqlite recorder; TODO: choose recorder at config