Add license and some pragmas.