Initial commit of web API.
Remove duplicate declaration of "mkdir_p".