The Ryedale Folk Museum in North Yorkshire is celebrating after being awarded more than £350,000.