created app in lua like a example