Created an A* path finding API, implementation needs work though