Added lua library, added entity/component classes, improvements to event system of GUI.