updated old licence headers and removed unused classes