added public directory with index page and server file