Implements a data building function

Adds a function named build_data(), that given a path will read it and
build a data structure that can later be restored with explode_data()