Switch Basic Data Structure

Change the basic data structure for workspace and loading