NEW: implemented data structure

NEW: implemented load functionality