Create main.lua. Add pulsing square class, callbacks