update licence and cleanup files