Database Factory added
factory