update with clang-format, change license of most files to MIT from GPL