added print stack trace need to discuss use of logger instead
changed to accept exception in the argument of the constructor
added some comments
Deleting unused file
handled exceptions
Making the threads run in the background instead of showing on UI
added more properties
used conditional operator