Separated Database from manager