minor changes, added license notice to every file