added generic database command executor with one class conversion