Move finding path code into a class named PathUpdaterAnimation