Update: multithreading architecture implemented. A* logic just needs to
be inserted into the thread