Minor fixes in some tools.
Modified tools, README and added LICENSE.