Setup structure for the deaggregation

Part of issue #2 (closed). Setup structure with all necessary functions