Added main.sh file to start up web server and create pid file