Added license headers, changed visibility of classes in misc/incremental