logging and and skeletno of function
logging
NewServer function