Re-enable silent rules.
Reorganize db functions.