Setup basic data structure and migrated data from old db