created serverThread class to separate server threads actions from
server actions