Move import of module platform
Change calculation of variable temp_has_delete
Move calculation of variable temp_has_delete
Remove global statements for variable temp_has_delete
Rename variable temp_has_delete to TEMP_HAS_DELETE
Configure logging
Remove function parse_options
Remove function main
Add function runServer
Rename variable httpserv to server