Work is underway on the construction of a new village primary school in North Yorkshire.