Implemented a basic OO threading wrapper
Refactored everything into folders