Rename AStar and convert into module