Initial upload of main.lua