Fix copyright notices, remove unused file and a debugging code