Support Lua modulefiles

This branch ONLY supports lua module files at the moment and is very early. More to come in the following days.