Quad tree added to the model implemenetation and dependencies