Problog files init sync

Initial sync of problog files.

Track.pl is the main process.
border.pl has the border detection rule test