lua: move lua files to separate subdir
doc: rename dir from man to doc