refactored licesne into lua file. updated readme