Updating some tools
Refactored everything to use OOP
Code cleanup
Added stats print function
Code cleanup and refactoring