Initial lua logic implemented
Example file