Recently I cleaned up the Final Rush 4 survival map. It's Lua code was totally horrible, like apparently most mod and map code around FA. I've written a short blog post on this topic, which can help you write Object Orientated Lua code:
https://www.entropywins.wtf/blog/2016/1 ... -lua-code/