fix copyright date remove vi ts=2 code remove a couple of superfluous extern declarations
name functions the same as we did for keyword/direction earlier. to do: json configuration and lua test.