Creating class server