runServer functions

this function is for run Server and get request of client and send response of request for client @param port - port of listen @param playground - use playground or not? @param db - connection of DB @param typeGeneration -