Changed database initializer