add nginx init.d script
add nginx configuration
change file structure