Refactoring of tools, and various updates

* Refactored backend tools into multiple classes
* Refactored command line tool
* Added reporting in command line tool
* Updated ware definition template
* Updated doc

(closes #2)