Add license headers and remove useless includes