Start to tidy up template-tools for ruby scripting.
Update readme.