Added initial main lua file

Needs a little bit of work, but it works.