Refactor; main.lua
Update README