import old code & test data from cosmos project