Find data and code directories