make db singelton, added members migration