changed ExpressServer to take a server and public directory path option