refactoring :
 - changed log4j to slf4j
 - removed threads because of duplicated sessions that caused bug that occurs when server runs long period ( a hour and more )
 - moved class outer .