Using Thread system
Added TempCleaner thread

TempCleaner cleans temp directory every 3 minutes