Added static build scripts
Added extended lua interface

Added lua script to allow more object oriented approach. Requires
MEvent and MScriptExt to use