fixing sensor database and adding openmp to manager