Fixed aoe bug. Moved A* into its own static class