Implmeneted stage0(retrieving configs) and partial stage1(database importing)