Create main.lua

The main lua file containing everything about the bot.