Make languages.lua a proper module