Preload data, refactor to enable treasure fetching