Finished integration of QuadTree and change ElementsContainer to vector from list