Implemented database creation from xml