Using regex for getting the youtube video id,  moving functions out of global scope
Added language packs for de and en