Fully merged with the new GUI application
Added thread creation
Thread handling is missing along with a mutex locker
Removed as it's not needed by the GUI solution