Added lua event system
General code clean up
Adding natives
Merge pull request #2 from garymevs/master

Master