rewrite main.lua so it can be included as a module rename test.lua to test_test.lua since I plan to rename main.lua to test.lua in a future PR