First implementation of unfolding
Work on unfolding technique