Implemented createDB