Modified server start function to accept port number and default to 8080 if no port is given.