Barrow Island Community Primary School has been extended and improved with substantial repairs carried out at a cost of £3.5 million.