(feat) change global db variable to singleton