order of fields was adapted to new data structure
initialize db script was added