Add license header and remove not used imports