it returns correct piece movements now, update ui, and fixes in chess controller