added lua and toc file

simple code in them, needs work