Worker Class

Created worker class with the main function.
Merge pull request #1 from ivanvmel/master

Worker Class