adding dex
adding mtgl lib