It has been used over the centuries as a courthouse , a school , and a village shop , and now houses a small museum .
Over the course of the centuries , it has served as a village shop , a school and a courthouse .