Database: inherits EventEmitter