This class does the whole placement and position handling returns all posible paths to the root of the document