Added missing license headers, removed obsolete files
Added keylock to examples