move dummy data to dummy-data dir
Function refactoring.