turned class into a thread
Merge branch 'master' of https://github.com/Prime11/dpm-final