Database module for Wave Framework