Initial commit with a working version of the tool.