Implemented SwingWoker to create background thread