routing done
now server can send errors to client
added missing directories