Fixed a typo in require() statement, added missing require in main.lua