Created Class for initializing database from xml-file