divided camera.lua into two files