fixed archiving which i broke through refactoring and added license info
at top of all src code