Restructure board libraries to make automated script easier.