little touch on setting up
first batch for the whole code. Need much revision in coherency, and adding explanation on Lua