fix style and coppyright notices
fix licences
fix style