Fixed constructor slightly.
Renamed DB instance to getInstance