remove private header. make some more headers private. fix some examples projects