Added source cpp/lua and makefile. Modified the README contents.
The source was written offline, should build and run.