Add licences header and remove an unused cmake file