Restructuring class design, new attempt to parallelize A*