added getters and setters to main.lua for scale and radius
Better collision logic