split lineofsight.lua into parts
added lookat smoothing