Legalisation document checker

First build of tool